package com.qc.searchBug.dao;

import java.util.List;
import java.util.Map;

public interface BugInfoMapper {
	/**
	 * 添加BUG信息
	 */
	public int addBugInfo(Map<String, Object> map);

	public List<Map<String,Object>> findByAjax(Map<String, Object> map);
	
	public List<Map<String,Object>> findByDescription(Map<String, Object> map);

	public Map<String, Object> findByBugId(int bugId);

	public List<Map<String, Object>> findBugByUserId(Map<String, Object> map);

	public int updateQueriesnumber(Map<String, Object> map);
	//查询总共多少条
	public int findPageNumberByUserId(int userId);
	//根据BUGID删除
	public int deleteByBugId(int bugId);
}
